package com.avengers.modules.spider.whois.querier;

import com.avengers.modules.spider.whois.bean.WhoisInfo;

/**
 * @author yu.wang
 * @since 2019/1/3 上午10:10
 * <p>
 * Domain Name: abc.中国
 * Puny Name: abc.xn--fiqs8s
 * Domain Name: abc.中國
 * Puny Name: abc.xn--fiqz9s
 * ROID: 20121015s12345s10171568-cn
 * Domain Status: clientTransferProhibited
 * Registrant ID: cnsc-11497812
 * Registrant: 张洪泉
 * Registrant Contact Email: 57274208@qq.com
 * Sponsoring Registrar: 厦门市中资源网络服务有限公司
 * Name Server: ns1.cnolnic.com
 * Name Server: ns2.cnolnic.com
 * Registration Time: 2012-10-29 00:00:01
 * Expiration Time: 2019-10-29 00:00:00
 * DNSSEC: unsigned
 **/
class CnChinese implements WhoisAnalysis {
    public static final CnChinese ANALYSIS = new CnChinese();

    @Override
    public String server() {
        return "whois.cnnic.cn";
    }

    @Override
    public String notFoundRemark() {
        return "No matching record.";
    }

    @Override
    public String unRegisteredOnLineRemark() {
        return null;
    }

    @Override
    public void transferLine(WhoisInfo whoisInfo, String line) {
        Cn.ANALYSIS.transferLine(whoisInfo, line);
    }
}
